package com.foreknow.dao;

import com.foreknow.model.Admin;

import java.sql.SQLException;

public interface AdminDao {

    /**
     * 登录
     * @param username
     * @param password
     * @return
     * @throws SQLException
     */
    public Admin isCheckLogin(String username,String password)throws SQLException;

    /**
     * 查询所有用户名
     * @return
     */
    public boolean selectNameAll(String username);
}
